package com.wy2cloud.gateway.feignclients;


import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.wy2cloud.gateway.configuration.FeignClientConfiguration;
import com.wy2cloud.user.entity.SysUser;

@FeignClient(name="service-user",configuration ={FeignClientConfiguration.class})
public interface UserClient {

	@RequestMapping("/getUserByAccount")
	public SysUser getUserByAccount(@RequestParam(value="account") String account);
}
